package org.jeecg.glr.util;

public class GLRConstant {



    public static String SYS_INTERNATIONAL_LANG_CN="zh-CN";
    public static String SYS_INTERNATIONAL_LANG_EN="en-US";

    public static  String  GLR_VERSION_TYPE_01_01="0101";
    public static  String  GLR_VERSION_TYPE_03_01="0301";
    public static  String  GLR_VERSION_TYPE_05_01="0501";
    public static  String  GLR_VERSION_TYPE_06_01="0601";

    public static final String YN_Y="Y";
    public static final String YN_N="N";

    public static final String YN_K="K"; //灯故障


    /**
     * 1.表示有网关下的路灯;2.表示不用网关的路灯
     */
    public static final String GLR_LIGHT_TYPE_1="1";
    /**
     * 1.表示有网关下的路灯;2.表示不用网关的路灯
     */
    public static final String GLR_LIGHT_TYPE_2="2";


    public static final String LIGHT_GATAWAY_CODE_REDIS="LIGHT_GATAWAY_CODE_REDIS";
    public static final String LIGHT_GATAWAY_CODE_LIGHT_REDIS="LIGHT_GATAWAY_CODE_LIGHT_REDIS";
    public static final String SENSOR_CODE_REDIS="SENSOR_CODE";

    public static final String RADIO_STATUS_OFFLINE="Offline";//离线
    public static final String RADIO_STATUS_IDLE="Idle";//空闲
    public static final String RADIO_STATUS_WORKING="Working";//工作中

    public static final String GLR_LED_FILE_PATH="files/led/";

    public static final String GLR_PLAT_FORM_LOGO_FILE_PATH="files/platformlogo/"; //平台LOGO文件上传
    /**
     * 音柱文件上传
     */
    public static final String GLR_RADIO_FILE_PATH="files/radio";
    /**
     * 网关文件上传
     */
    public static final String GLR_GATEWAY_FILE_PATH="files/gateWay";

    /**
     * LED屏 设备 类型
     */
    public static final String GLR_LED_MEMBER_TYPE_1="1";
    /**
     * LED屏 设备 类型
     */
    public static final String GLR_LED_MEMBER_TYPE_2="2";


    /**
     * 资源所属设备类型：  1----音柱资源; 2------LED资源
     */
    public static final String GLR_RESOURCE_TYPE_1="1";
    /**
     * 资源所属设备类型：  1----音柱资源; 2------LED资源
     */
    public static final String GLR_RESOURCE_TYPE_2="2";




    /**
     * LED屏资源类型01：图片;02:视频:03音频
     */
    public static final String T_B_RESOURCE_TYPE_01 = "01";

    /**LED屏
     * 资源类型01：图片;02:视频:03音频
     */
    public static final String T_B_RESOURCE_TYPE_02 = "02";

    public static final String FILE_PATH_LED = "led/";
    public static final String FILE_PATH_FACE = "face/";

    /**
     * 人脸识别率
     */
    public static final double FACE_RECOGNITION_RATE=80d;

    public static final String VIDEO_CODE_REDIS="VIDEO_CODE";


    //第一个雷拓服务器的代码
    public static final String SERVER_CODE_RATTOP="1001";
    //雷拓音柱
    public static final String COMPANY_CODE_RATTOP="2";
    //世邦音柱
    public static final String COMPANY_CODE_SPON="1";
    //网址通用代替
    public static final String IPCAST_FUNCTION_URL = "http://localhost/function";
    //转换参数使用标准
    public static final int PER_CENT_MAX=100;
    //转换参数使用雷拓
    public static final int PER_CENT_MAX_RATTOP=56;



    /**
     * 命令发送响应时间
     */
    public static final int GLR_GATE_WAY_SLEEP_TIME=3500;

    /**
     * 网关交互返回值
     */
    public static final String GLR_GATE_WAY_RESULT_VALUE_0="0";

    /**
     * 网关发送开关灯命令类型03群控--01单控
     */
    public static final String GLR_GATE_WAY_CONTROL_LIGHT_TYPE_03="03";
    /**
     * 网关发送开关灯命令类型03群控--01单控
     */
    public static final String GLR_GATE_WAY_CONTROL_LIGHT_TYPE_01="01";


    /**
     * 公司所在的经纬度
     */
    public static final String GLR_LONGITUDE="117.178483";
    public static final String GLR_LATITUDE="34.161114";

    /**
     * 灯杆上绑的设备类型
     */
    public static final String GLR_LIGHT_POLE_DEVICE_01="01"; //音柱 RADIO_YN
    public static final String GLR_LIGHT_POLE_DEVICE_02="02"; //LED屏 LED_YN
    public static final String GLR_LIGHT_POLE_DEVICE_03="03"; //路灯 LIGHT_YN
    public static final String GLR_LIGHT_POLE_DEVICE_04="04"; //网关 GATEWAY_YN
    public static final String GLR_LIGHT_POLE_DEVICE_05="05"; //传感器 SENSOR_YN
    public static final String GLR_LIGHT_POLE_DEVICE_06="06"; //摄像头 VIDEO_YN

    public static final String GLR_LIGHT_POLE_DEVICE_01_RADIO_YN="RADIO_YN"; //音柱 RADIO_YN
    public static final String GLR_LIGHT_POLE_DEVICE_02_LED_YN="LED_YN"; //LED屏 LED_YN
    public static final String GLR_LIGHT_POLE_DEVICE_03_LIGHT_YN="LIGHT_YN"; //路灯 LIGHT_YN
    public static final String GLR_LIGHT_POLE_DEVICE_04_GATEWAY_YN="GATEWAY_YN"; //网关 GATEWAY_YN
    public static final String GLR_LIGHT_POLE_DEVICE_05_SENSOR_YN="SENSOR_YN"; //传感器 SENSOR_YN
    public static final String GLR_LIGHT_POLE_DEVICE_06_VIDEO_YN="VIDEO_YN"; //摄像头 VIDEO_YN

    public static final String GLR_LIGHT_POLE_DEVICE_TYPE_ADD="ADD";//类型为增加
    public static final String GLR_LIGHT_POLE_DEVICE_TYPE_EDIT="EDIT";//类型为修改
    public static final String GLR_LIGHT_POLE_DEVICE_TYPE_DELETE="DELETE";//类型为删除

    public static final String GLR_LIGHT_POLE_DEVICE_01_TABLE="glr_radio"; //音柱 RADIO_YN
    public static final String GLR_LIGHT_POLE_DEVICE_02_TABLE="glr_led"; //LED屏 LED_YN
    public static final String GLR_LIGHT_POLE_DEVICE_03_TABLE="glr_light"; //路灯 LIGHT_YN
    public static final String GLR_LIGHT_POLE_DEVICE_04_TABLE="glr_gateway"; //网关 GATEWAY_YN
    public static final String GLR_LIGHT_POLE_DEVICE_05_TABLE="glr_sensor"; //传感器 SENSOR_YN
    public static final String GLR_LIGHT_POLE_DEVICE_06_TABLE="glr_video"; //摄像头 VIDEO_YN

    /**
     * 音柱定时任务状态
     * 启用状态
     * 启用		0
     * 停用		1
     * 运行状态
     * 运行中	3
     * 未运行	4
     @Dict(dicCode = "glr_radio_task_status")
     */
    public static final String GLR_RADIO_TASK_STATUS_0="0"; //启用		    0
    public static final String GLR_RADIO_TASK_STATUS_1="1"; //停用		    1
    public static final String GLR_RADIO_TASK_STATUS_3="3"; //运行中	    3
    public static final String GLR_RADIO_TASK_STATUS_4="4"; //未运行	    4

    //public static final String REDIS_GATE_WAY="REDIS_GATE_WAY_";  //网关命令发送间隔不能超过30秒钟标识
    //public static final String REDIS_GATE_WAY_MSG="网关命令正在执行,请20秒后重试";//网关命令发送提示
    //public static final Integer REDIS_GATE_WAY_SECONDS=20;//网关命令发送间隔时间以秒为单位


    /**
     * 灯杆灯型 1普通灯杆，2智慧灯杆，3合杆
     */
    public static final String GLR_LIGHT_POLE_TYPE_1  ="1"; //1普通灯杆
    public static final String GLR_LIGHT_POLE_TYPE_2  ="2"; //2智慧灯杆
    public static final String GLR_LIGHT_POLE_TYPE_3  ="3"; //3合杆

}
